﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="snsfriend.aspx.cs" Inherits="Web4Comment.sns.snsfriend" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    
    <meta name="Generator" content="iWeb 3.0.4" />
    <meta name="iWeb-Build" content="local-build-20120101" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta name="viewport" content="width=1050" />
    <title>friends</title>
    <link rel="stylesheet" type="text/css" media="screen,print" href="/meida/css/link.css" />
    <!--[if lt IE 8]><link rel='stylesheet' type='text/css' media='screen,print' href='meida/css/linkIE.css'/><![endif]-->
    <!--[if gte IE 8]><link rel='stylesheet' type='text/css' media='screen,print' href='meida/css/IE8.css'/><![endif]-->

</head>
<body style="background: rgb(251, 251, 251); margin: 0pt;">
    <form id="form1" runat="server">
   <div style="text-align: center; ">
      <div style="margin-bottom: 0px; margin-left: auto; margin-right: auto; margin-top: 0px; overflow: hidden; position: relative; word-wrap: break-word;  text-align: left; width: 1050px; " id="body_content">
        <div style="background: transparent url(/media/images/backgroundimage_1_1.png) no-repeat scroll center center; width: 1050px; ">
          <div style="float: left; margin-left: 0px; position: relative; width: 1050px; z-index: 0; " id="nav_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"> </div>
            <div style="clear: both; height: 0px; line-height: 0px; " class="spacer"> </div>
          </div>
          <div style="float: left; height: 0px; line-height: 0px; margin-left: 0px; position: relative; width: 1050px; z-index: 10; " id="header_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"> </div>
          </div>
          <div style="margin-left: 0px; position: relative; width: 1050px; z-index: 5; " id="body_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"> </div>
            <div style="height: 20px; width: 66px;  height: 20px; left: 835px; position: absolute; top: 58px; width: 66px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <img src="/media/images/about.gif" alt="" 
                    style="border: none; height: 20px; width: 66px; " />
            </div>
            
            <div style="height: 20px; width: 66px;  height: 20px; left: 800px; position: absolute; top: 85px; width: 88px; z-index: 1; text-align: center;" 
                  class="tinyText style_SkipStroke stroke_0">
              <asp:LinkButton ID="userLinkButton" runat="server" PostBackUrl="~/profile.aspx">用户</asp:LinkButton>|
              <asp:LinkButton ID="logoutLinkButton" runat="server" PostBackUrl="~/logout.aspx">登出</asp:LinkButton>
            </div>

            <div style="height: 21px; width: 65px;  height: 21px; left: 685px; position: absolute; top: 57px; width: 65px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <img src="/media/images/any.gif" alt="" 
                    style="border: none; height: 21px; width: 65px; " />
            </div>
            


            <div style="height: 21px; width: 66px;  height: 21px; left: 598px; position: absolute; top: 57px; width: 66px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <a href="../friends.aspx" target="_self">
              <img src="/media/images/friends.gif" alt="" 
                    style="border: none; height: 21px; width: 66px; " />
                    </a>
            </div>
            


            <div style="height: 19px; width: 44px;  height: 19px; left: 533px; position: absolute; top: 58px; width: 44px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <a href="../main.aspx" target="_self">
              <img src="/media/images/main.gif" alt="" 
                    style="border: none; height: 19px; width: 44px; " />
                    </a>
            </div>
            


            <div style="height: 19px; width: 41px;  height: 19px; left: 772px; position: absolute; top: 58px; width: 41px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <a href="../link.aspx" target="_self">
              <img src="/media/images/sns.gif" alt="" 
                    style="border: none; height: 19px; width: 41px; " />
                    </a>
            </div>
            


            <div style="height: 83px; width: 111px;  height: 83px; left: 139px; position: absolute; top: 43px; width: 111px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <img src="/media/images/logo-2.gif" alt="" 
                    style="border: none; height: 83px; width: 111px; " />
            </div>
            


            <div style="height: 147px; width: 149px;  height: 435px; left: 352px; position: absolute; top: 161px; width: 591px; z-index: 1;box-shadow:0 0 5px #9ddff5; " 
                  class="tinyText style_SkipStroke stroke_0">
             <asp:DataList ID="friendDataList1" runat="server" Width="100%" Font-Bold="True" 
                            CellPadding="4" ForeColor="#333333" Height="70px">
                            <AlternatingItemStyle BackColor="White" />
                            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                            <ItemStyle BackColor="#EFF3FB" />
                            <ItemTemplate>
                <table>
                <tr>
                
                <td><%#Eval("user.username") %> 来自 <%#Eval("sns_name") %> 的 <%#Eval("userSite.screen_name") %></td>
                <td><asp:LinkButton ID="LinkButton1" runat="server" Text="添加好友" CommandArgument='<%# Eval("User.username")%>' OnClick="HandleAdd" /></td>
                <td></td>
                </tr>
                </table>
                </ItemTemplate>
                <SelectedItemStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                </asp:DataList>
            </div>
            


            <div style="height: 650px; line-height: 650px; " class="spacer"> </div>
          </div>
          <div style="height: 0px; line-height: 0px; margin-left: 0px; position: relative; width: 1050px; z-index: 15; " id="footer_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"> </div>
          </div>
        </div>
      </div>
    </div>
    </form>
</body>
</html>
